package j03zuoye;

class Shape{
    public double area(){
        return 0;
    }
    public double perimeter(){
        return 0;
    }
}
class Rectangle extends Shape{
    Point startPoint;
    int width;
    int height;

    public double area(){
        return 0;
    }
    public double perimeter(){
        return 0;
    }
    public Point center(){
        return new Point(0,0);
    }
}

class Square extends Shape{
    Point startPoint;
    int side;

    public double area(){
        return 0;
    }
    public double perimeter(){
        return 0;
    }

    public Point center(){
        return new Point(0,0);
    }
}

class Circle2 extends Shape{
    Point center;
    int r;

    public double area(){
        return 0;
    }
    public double perimeter(){
        return 0;
    }
}

public class ShapeTest {
}

